﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.FactoryManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.FactoryManagement.EncodeSchemeVMs
{
    public partial class EncodeSchemeBatchVM : BaseBatchVM<EncodeScheme, EncodeScheme_BatchEdit>
    {
        public EncodeSchemeBatchVM()
        {
            ListVM = new EncodeSchemeListVM();
            LinkedVM = new EncodeScheme_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EncodeScheme_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EncodeScheme._Code")]
        public string Code { get; set; }
        [Display(Name = "_Model._EncodeScheme._FormName")]
        public string FormName { get; set; }
        [Display(Name = "_Model._EncodeScheme._FormCode")]
        public string FormCode { get; set; }
        [Display(Name = "_Model._EncodeScheme._SerialNumber")]
        public long? SerialNumber { get; set; }
        [Display(Name = "_Model._EncodeScheme._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._EncodeScheme._Active")]
        public bool? Active { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}